package com.lanxi.nbpaytest.Controller;

import com.lanxi.nbpaytest.Service.PayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author mintaoyu
 * Date on 2020-02-26  10:25
 */

@Slf4j
@Controller
public class ViewController {

    @Autowired
    PayService payService;

//    @RequestMapping("/")
//    public String add() {
//        log.info("进入首页");
//        return "index";
//    }

    @RequestMapping("/")
    public String downloadAccountPage() {
        return "downloadAccount";
    }

    @RequestMapping("/pc")
    public String downloadAccount() {
        return "download";
    }
}
